package com.woniu.fly.fairmall.db.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户表(FairmallUser)实体类
 *
 * @author makejava
 * @since 2020-03-19 14:23:08
 */
public class FairmallUser implements Serializable {
    private static final long serialVersionUID = -91409219887772064L;
    /**
    * 用户ID
    */
    private Long id;
    /**
    * 用户名
    */
    private String username;
    /**
    * 密码
    */
    private String password;
    /**
    * 姓名
    */
    private String name;
    /**
    * 性别 性别：0 未知， 1男， 1 女
    */
    private Integer gender;
    /**
    * 生日 生日
    */
    private LocalDateTime birthday;
    /**
    * 最后一次登陆时间
    */
    private LocalDateTime lastLoginTime;
    /**
    * 最后一次登陆IP
    */
    private String lastLoginIp;
    /**
    * 用户类型 0 普通用户，1 身份证认证，2 学生认证
    */
    private Integer userLevel;
    /**
    * 昵称
    */
    private String nickname;
    /**
    * 手机号
    */
    private String mobile;
    /**
    * 头像地址
    */
    private String avatar;
    /**
    * 账号状态 0 可用, 1 禁用, 2 注销
    */
    private Integer status;
    /**
    * 创建时间
    */
    private LocalDateTime addTime;
    /**
    * 更新时间
    */
    private LocalDateTime updateTime;
    /**
    * 逻辑删除
    */
    private Boolean deleted;
    /**
    * 微信用户ID
    */
    private String openId;
    /**
    * 微信回话KEY
    */
    private String sessionKey;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public LocalDateTime getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDateTime birthday) {
        this.birthday = birthday;
    }

    public LocalDateTime getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(LocalDateTime lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public Integer getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(Integer userLevel) {
        this.userLevel = userLevel;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public LocalDateTime getAddTime() {
        return addTime;
    }

    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getSessionKey() {
        return sessionKey;
    }

    public void setSessionKey(String sessionKey) {
        this.sessionKey = sessionKey;
    }

}
